sweep phase meaning in English
扫描阶段
扫描信号相位
Examples
- The big problem with mark - sweep is that every active that is , allocated object , whether reachable or not , is visited during the sweep phase
标记-清除的最大问题是,每一个活跃的(即已分配的)对象,不管是不是可到达的,在清除阶段都是可以访问的。 - Mark - sweep and mark - compact collectors , however , expend considerably more effort examining dead objects , because they must examine every object in the heap during the sweep phase
不过,标记-清除和标记-理整收集器要做很多额外的分析死亡对象的工作,因为在清除阶段它们必须分析堆中的每一个对象。 - But it has deficiencies - collection pauses can be long , and the entire heap is visited in the sweep phase , which can have very negative performance consequences on virtual memory systems where the heap may be paged
但是它也有不足收集暂停可能会很长,在清除阶段整个堆都是可访问的,这对于可能有页面交换的堆的虚拟内存系统有非常负面的性能影响。